package com.javaee.lpr.entity;

import java.util.Date;

public class ParkSpace {
    private Integer id;
    private String number;
    private String area;
    private Date createT;
    private Integer state;

    public ParkSpace() {
    }

    public ParkSpace(Integer id, String number, String area, Date createT, Integer state) {
        this.id = id;
        this.number = number;
        this.area = area;
        this.createT = createT;
        this.state = state;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public Date getCreateT() {
        return createT;
    }

    public void setCreateT(Date createT) {
        this.createT = createT;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "ParkSpace{" +
                "id=" + id +
                ", number='" + number + '\'' +
                ", area='" + area + '\'' +
                ", createT=" + createT +
                ", state=" + state +
                '}';
    }
}
